package org.elanfox.intellicommunity.biz.service.core.alarm;

import org.elanfox.intellicommunity.biz.entity.resident.WorkerPO;

import java.util.List;
import java.util.Map;

/**
 * 报警管理，联动
 *
 * @author allan
 * @version 1.0.0
 * @date 1/21/21
 */
public interface AlarmManageService {
    Map<Integer, List<WorkerPO>> findNearby(Long locatorId);

    Map<Integer, List<WorkerPO>> findNearBy(Integer userId);

    Map<Integer, List<WorkerPO>> findNearByByArea(Integer areaId);

    Map<Integer, List<WorkerPO>> findNearBySameBuilding(Long locatorId);
}
